:root {
    --vc-header-height: 70px;
    --box-x-gap: 50px;
    --box-x-gap-small: 10px;
    --vc-bg-color: #F0F5F7;
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/*
  去掉某些浏览器中元素在获得焦点时自带一个大黑边框
  */
html:focus {
    outline: none;
}

*:focus {
    outline: inherit;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: system-ui;
    line-height: 1.4;
    font-size: 16px;
    font-weight: normal;
    color: var(--el-text-color-primary);
    background-color: var(--vc-bg-color);
    word-break: break-all;

}

html.dark {
    background: #222;
    color: white;
}

.box {
    padding-left: var(--box-x-gap);
    padding-right: var(--box-x-gap);
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .box {
        padding-left: var(--box-x-gap-small);
        padding-right: var(--box-x-gap-small);
    }
}

.ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.img {
    max-width: 100%;
    font-size: 0;
}

img {
    font-size: 0;
}

.link {
    cursor: pointer;

    &:not(:hover) {
        text-decoration: none;
        color: inherit;
    }

    &:hover {
        color: var(--el-color-primary);
    }
}